import { axios } from '@/utils/request'

/**
 * 门店管理
 */

export function selectPage (parameter) {
  return axios({
    url: '/member/list',
    method: 'get',
    params: parameter
  })
}

export function changeAdmin (parameter) {//管理员
  return axios({
    url: '/member/'+ parameter +'/changeAdmin',
    method: 'get'
  })
}

export function exportExcel (parameter) {
  return axios({
    url: '/member/exportExcel',
    method: 'post',
    responseType:'blob',
    params: parameter
  })
}